package com.ct.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ct.rbac.orm.SysMenusDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author Auto Generator
 * @since 2023-08-13
 */
public interface SysMenusMapper extends BaseMapper<SysMenusDO> {
    /**
     * 查询用户对应的角色列表
     * @param roleId
     * @return
     */
    List<SysMenusDO> findRoleMenus(@Param("roleId")Long roleId);
}
